//
//  ScanGoodErrorAlertView.h
//  ReceiptDelivery
//
//  Created by 吕晶 on 2020/11/11.
//  Copyright © 2020 吕晶. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger,ScanGoodErrorType) {
    ScanGoodErrorTypeGoodError    =  1,//当前扫码的货物型号与运单中的货物型号不符
    ScanGoodErrorTypeNoGood           ,//当前运单中没有此货物
    ScanGoodErrorTypeBoxError         ,//此箱已被绑过
    ScanGoodErrorTypeCountError        //货物中的件数已超过运单中件数
};

@interface ScanGoodErrorAlertView : UIView

@property (nonatomic, copy) NSString *content1;
@property (nonatomic, copy) NSString *content2;
@property (nonatomic, assign) ScanGoodErrorType type;
- (void)showInView:(UIView *)view;
- (void)disMissView;

@end

NS_ASSUME_NONNULL_END
